package homework;

public class practice3 {
    public static void main(String[] args) {
        int[] arr = {2, 1, 3, 5, 4};
        for (int i = 0; i < arr.length; i++) {

        }
        System.out.println("表示的数组为：" + (arr[4] * 1 + arr[3] * 10 + arr[2] * 100 + arr[1] * 1000 + arr[0] * 10000));
    }
}
